#!/bin/bash
# Copyright (c) 1998 Lawrence Livermore National Security, LLC and other
# HYPRE Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

#=============================================================================
# ij: Run default case with different interpolation operators
#    0: Extended+i interpolation
#    1: FF interpolation
#    2: standard interpolation
#    3: Extended interpolation and truncation max 4 elmts per row
#    4: FF interpolation and truncation max 4 elmts per row
#    5: standard interpolation and truncation max 4 elmts per row
#    6: Classical modified interpolation
#    7: Mod Extended interpolation and truncation max 4 elmts per row
#    8: Mod Extended+i interpolation and truncation max 4 elmts per row
#=============================================================================

mpirun -np 4  ./ij -rhsrand -n 15 15 10 -P 2 2 1 -Pmx 0 \
 > interp.out.0

mpirun -np 4  ./ij -rhsrand -n 15 15 10 -P 2 2 1 -interptype 7 -Pmx 0\
 > interp.out.1

mpirun -np 4  ./ij -rhsrand -n 15 15 10 -P 2 2 1 -interptype 8 -Pmx 0 \
 > interp.out.2

mpirun -np 4  ./ij -rhsrand -n 15 15 10 -P 2 2 1 \
 > interp.out.3

mpirun -np 4  ./ij -rhsrand -n 15 15 10 -P 2 2 1 -interptype 7 \
 > interp.out.4

mpirun -np 4  ./ij -rhsrand -n 15 15 10 -P 2 2 1 -interptype 8 \
 > interp.out.5

mpirun -np 4  ./ij -rhsrand -n 15 15 10 -P 2 2 1 -interptype 0 -Pmx 0 -falgout \
 > interp.out.6

mpirun -np 4  ./ij -rhsrand -n 15 15 10 -P 2 2 1 -interptype 16 -Pmx 12 \
 > interp.out.7

mpirun -np 4  ./ij -rhsrand -n 15 15 10 -P 2 2 1 -interptype 17 \
 > interp.out.8


